package com.itheima.socket.tcp.demo04;

import java.io.IOException;
import java.net.Socket;
import java.util.concurrent.TimeUnit;

public class ClientDemo04 {

    public static void main(String[] args) throws IOException, InterruptedException {

        Socket socket = new Socket("192.168.1.12", 4000);
        TimeUnit.SECONDS.sleep(15);
        socket.close();
    }
}
